console.log("headerlinke.js is working");
$(document).ready(function() {
	$("#top_links #head_logout").click(function(){
		$("#top_links").
		append('<div class="backgr" style="width: 100%;height: 100%;background-color:black;position:fixed;left: 0;top: 0;opacity:0.7"></div>');
		$("#top_links").
		append('<div id="exite" style="box-shadow: 0 0 10px rgba(0,0,0,0.5);border-radius:5px;background-color:#b0b0b0;position:absolute;left:88%; top:0.1%;padding:10px"><div style="font-size: medium;color:white;">Are you sure?</div><div align="center" style="padding-top:20px"><a class="buttonclass"href="/logout">Yes</a><a class="buttonclass" style="margin-left:10px;" id="exite_no" ">No</a></div></div>');
	$("#exite #exite_no").click(function(){
		$("#exite").remove();
		$(".backgr").remove();
	});
	});
	$("#slide").click(function(){
		$(window).scrollTop(0);
	});
});